import request from '@/utils/request'

export class FusunPicApi {
    static module = '/FusunPic';

    static page = (params) => {
        return request({
            url: `/fusunPic/page`,
            method: "get",
            params: params
        })
    };

    static edit = (data) => {
        return request({
            url: `/fusunPic/edit`,
            method: "post",
            data: data
        })

    };

    static add = (data) => {
        return request({
            url: `/fusunPic/add`,
            method: "post",
            data: data
        })
    };

    static delete = (data) => {
        return request({
            url: `/fusunPic/delete`,
            method: "post",
            data: data
        })

    };

    static detail = (id) => {
        return request({
            url: `/fusunPic/detail/`+id,
            method: "get"
        })
    };

    static list = () => {
        return request({
            url: `/fusunPic/list/`,
            method: "get"
        })
    };
}

